<?php
require_once dirname(__FILE__).'/_widgets.php';
$_menu['Blog']->addItem(__('Agenda'),'plugin.php?p=agendaPlugin','index.php?pf=agendaPlugin/icon.png',
		preg_match('/plugin.php\?p=agendaPlugin(&.*)?$/',$_SERVER['REQUEST_URI']),
		$core->auth->check('agenda',$core->blog->id));
// Ajout de la permission de gérer les entrées de l'agenda
$core->auth->setPermissionType('agenda',__('manage agenda entries'));

?>